package com.shengsheng.expschedule.service.ucenter.entity.Vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author yuan
 * @date 2021/11/09
 */
@Data
@ApiModel("角色权限对象")
public class RoleVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色 id")
    private String id;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "角色所拥有的权限信息")
    private List<RightVo> rightList = new ArrayList<>();
}
